fixed failures to deal with pid changes; better parsing of phone numbers