fixed index rebuild