fix: inspect Gateway Accepted and Programmed by type (#1737)