fixed some filepath issues