Updated the way an error 404 is managed.