get rid of magic branching targets