fixed variable name typo

fixed variable name typo pipeName which was causing runtime errors.