Fix globals debug