fix: end of jobs flag