fixed zsh error on tty console