fixes password present validation