removed unused character from error messages