Fixed locale in case of 404 error