fix for reindex stuff