fix error when no phone number was entered