formatted error messages and route box