Fix getTarget()