correct displaying of variables