fix jumptable_dispatcher logic