fixed variable name type bug in yaml task