how to reduce input delay