fix for name editing bug