fixed targetstring variable name