Fix user edit failure

fix#41