bypass_ipstack: fixed restore ptypebase tables