fix relative folder bug