bugfix for ps1