fixed add folder was adding a subfolder instead