fix error message, style nits