fix bug with 2 strings of var