Fix routing and urls.