check for target name