fix field listing in error message
fix whitespace