fixing zsh compatibility