Fixed directory errors