more protocol bug fix