len of the message not includes NULL