Fixed resolve target name