fix zsh impl