fix folder setting bug.