fixed variable name from result to target