fix validation
add some msg types