Fixed typo globals=>global