Fix user edit bug