fixed directory issues again