fixed up directories