correct location parameters in check_phone_number