fix the missing index