Fix the add folder bug