Fixbug: relative directory and job contain ".job"