Fix bug if job id is not given