fix unique job check