fix some folders bugs