job id error checking