Corrected the style of some error messages