fix root folder bug