Input buffer index counter restored.