support inherited messagehandler