Fixes paths in main page.