fix save userName on edit