fix dispatcher error when no job