add global.h to serialization.h