Fixing view page and 404 error.