Fixed globals definition