fixing messed up phone number validator