fix a small typo

global_mods is an array of values of @global_mods hash