Fix incorrect user edit problem