Fix handleInput reply buffer reference