Fixed globals iteration