adding fix to reindex