fixed checkbox status on template render