fix ps1 issue