set correct title when editing folders