Update Pbs.pm

fix for issue 536