fix bugs of start.sh