ENH: fixing extention bugs for folder