change validateNullPassword