fix reindex command