add param compatible in gateway