Fixed directory errors.