correct bug on template due to upgrade to 3.0