handle invalid job ids