zero out the template