fixed password_required? error