another fix to the ps command