minor fixes to the ui and folder creation code