support the anonymous id increase in __root__.

not increase in which message.
add check_type
check for type in check_type