fix style for checking start char of message in parser