change string to variable

should be var not string type.