Cant connect my pixhawk to mission palnner if my gps attach to the pixhawk

hello guys. i have a pixhawk 2 cube black and i have a cube orange pixhawk. i use a M8N gps module. whenever i want to connect my Cube Black to mission planner while my gps attach to pixhawk to its always fail and the loading stuck at “already got param ….”. however whenever i didnt attach the gps to the pixhawk it can connect to mission planner.

i try with my cube orange to connect to mission planner while my gps attach and with the same component (telemetry, power module,gps, etc), it can connect to the mission planner.

i feel like there is something wrong with my pixhawk. could it be something other than pixhawk? or maybe do you guys ever encounter a problem like this, and know how to fix this? i need help plss thank youu.