fixed reindex command