Fix output of variables