fix whitespace in event spec, #1661