str error in var