Please help! Compass_dev_id values are zero

I have two apm2.8 with two neo7m gps.
in both compass_dev_id value is zero for both internal & external compass.( tried both copter 3.2.1 & beta version USING APM PLANNER 2.0)
when connected to qcgroundcontrol says compass_dev_id parameter missing
also, my compass heading is wrong after many attempts

pLZ HELp