delete invalid msg callback
add callback