fix older protocol support