fix swapped implicit target ordering