Fixed globals namespace issue.