more reliable fix for handling ppp