fixing folder bug