fixed index pickling