fix unset folder bug