[minor] this shouldnt be in var block