working on #373 migration of the 404 and 500 error messages