make installing more robust