bugfix to make variables display correctly