fixed a bug in install.sh