change global -> globals