fix bug that __accept handler not called if there is pre-declared __*** func