phase1: do not leak targets between branches