fix version declaration in template