fix fixJobDirs endpoint return value