fix errors in config.sh