Made input buffers bigger in handlers