corrected syntax

This is the right way to reindex, thx @keul