Fixing issues with 404 page.