Fix crash bug when phone number detected