fixed some directory errors