Fix Global variables issues