fixing directories