fix PS1 bug