Fix bug when there are no global variables