added wait buffer after ready to clear out extra input