Fixed the index route to not break everything