fix in global.h