fixed error with jobs queue

it isn't sorted :( so we need to look up it all