condition fix, set param name instead of template name

--HG--
branch : 0.8
Automated Merge

--HG--
branch : 0.8