1. If not as specified, loosen the fuel-filler lid installation bolts, and reposition the fuel-filler lid.
2. Measure the gap and height between the fuel-filler lid and the body.
Clearance
a: 1.7-3.7 mm {0.067-0.145 in} b: -0.5-1.5 mm {-0.019-0.059 in}
3. Tighten the bolts.

Fuel-filler lid and opener removal/installation
BumperMazda 6 Service Manual: Close Proximity Warning
If your vehicle rapidly closes in on the vehicle ahead because the vehicle applies
the brakes suddenly while you are traveling in headway control, the warning sound
activates and the brake warning is indicated in the display. Always verify the safety
of the surrounding area and depress the bra ...
Mazda 6 Service Manual: Immobilizer system reprogram procedure
Note
When an error occurs during the reprogram procedures, except when
the PCM is replaced, repeat the procedure from Step 1. If you still cannot
reprogram, confirm how many keys can start the engine. Then, perform the key
replacement or addition reprogram procedure according to the val ...