fix bug changing user details