Fix index limit