fixed everything which made bin/install fail