fixing up directories