Fixed bugs in template