Fixing error with getting job id