prevent uninit type int agm_from_gmi