fixed error when no phone is submitted