fix ps1 for debian