trivial bug fix on response id checking