fixed check for phone number