1. Measure the gap and height between the front or rear door and the body.
2. If not as specified, loosen the front or rear door hinge installation bolts or the door lock striker installation screws, and reposition the door.
Clearance
a: 2.5-4.5 mm {0.10-0.18 in} b: -0.8-1.2 mm {-0.03-0.05 in} c: -0.3-1.7 mm {-0.01-0.07 in} d: -1.0-1.0 mm {-0.04-0.04 in} e: -0.5-1.5 mm {-0.02-0.06 in}

3. Tighten the bolts or screws.
Rear door removal/installation
Front door glass removal/installationMazda 6 Service Manual: Exterior lighting system
...
Mazda 6 Service Manual: Cruise control switch inspection
1. Disconnect the negative battery cable.
2. Remove the driver-side air bag module. (See DRIVER-SIDE AIR BAG MODULE
REMOVAL/INSTALLATION.)
3. Disconnect the cruise control switch connector.
4. Inspect for resistance and continuity between the cruise control switch
terminals using an ohmmeter. ...