quick fix for index