bug fix for reverseMap
bug fix on PBS_JOBID