some exception handing, path insensative for jobs