fix directory issues on grid hopefully