Fix bug for edit user