rename variable and remove un-need argument of getCommonTemplateValues