fix issue where text disappeares when editing existing folder