fixing directory pathing