fixes "orphaned" sub folders when renaming parent folder