Password check fix