fixed error on editing user