fix index system