fixes to make installs work