typo
check for null message type and extras