added the error messages template