put register_target in and get rid of code that ease
duplicated then marked with if 0

(Logical change 1.156)
1 file changed