Creating a data session while debugging

Hello, I have similar problem, when I starting session using le_mdc_StartSession, I have no access to Internet because of wrong gateway.
route shows:

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ***.***.***.96 * 255.255.255.224 U 0 0 0 rmnet0 192.168.2.0 * 255.255.255.0 U 0 0 0 usb0

while le_mdc_GetIPv4GatewayAddress shows:
***.***.***.113

route add default gateway ***.***.***.113 solves this problem, but why the device picking wrong gateway after I call StartSession?
Is there any way to manually set the right gateway in my code?