Also set target before patch