fixed bugs in init.sh