fixed some nil? problems concerning jobs