misc bugs in install.sh