error in template has been sorted now