By passed type check when response from legacy stub gateway