fixed user edit problem