Fix index undefined

2 jobs for master in 2 minutes and 35 seconds (queued for 2 seconds)