replace gr_uint32 to int