fixed relative folder bug