use correct routes in index view