fix error in zsh environment