fix bugs in bootstrap.sh while config zsh