bugfix: looping through activated instrs