Fix bug on PS1