Revo-mini FC without baro IC


I built an FC for an RC car, based on CC3D revo mini but without baro IC. I changed the hwdef.dat file (define HAL_BARO_ALLOW_INIT_NO_BARO) and built 3.5.2 firmware.
I use GPS for the FC.
When I turn it on, Ground Speed incrase to 4-500 m/sec in Mission Planner and horizon is spinning around in HUD. If I connect an external Baro, everything is good. I set EK2_ALT_SOURCE to 2 (use GPS).
How can I use this FC without baro?

Thank You