fixed error with the password_required attr