formatting, editing error messages