Fix iv stab with legend