fix routing to index page