fix open index operation