fix display of global variables