fix PS1 for Mac