fixing bug on baseline.var