Compass errors on puting new place

Yesterday I was flying but there are some problem compass not completely work so I decide i want to put on other side like on this photo. But problem is I wann be start it always on stabilize mode and after loiter or other. Stabilize mode is ok now I landed and try on loiter mode as I need but after take off on like 30 to 40cm is rounded like 2 and 2.5 times and after stable in lioter mode and his forgetting head direction like a super simple mode what can I do ?
I think the compass and gps module putt together so make this mistakeā€¦
And sorry by mistake video is deleted on my phone :sweat:
Google Photos

Start by mounting that GPS unit up higher, especially if it has a compass in it.
And secure the GPS wiring and battery wiring so it doesnt vibrate and move around.
Then redo the compass calibration.

Ok sir do it first :slightly_smiling_face: