change BufferIndex property from private to protected