Fix index missing expcetion on startup