RFD900x Short Range Issue

Hello everybody,
I have 2 RFD900x modules with stock dipole antennas connected but even it is able to get 40kms I never got close to it. I am using one of them on a plane and other on the ground ofc. I tested them on the ground before and they lose connection around 400 meters. I know that there are obstacles between them while I am testing but still it should give me more range I guess. I tried to power the module wia pixhawk and seperated 5v bec but there was no significant difference on the range. I updated both of the modules to the latest firmware from the rfdesign website with rfdtools. There is the settings for the both of the modules