fixed job registration in case you choose to store jobs into a db