correct branch in template