set input type for new-folder and rename