fix bugs of install.sh