folders are renamed to safe the right order