fixed typo and bug in installer.sh