fixing directory setup