A Spanish official says the airline involved in last week's deadly plane crash had considered switching aircraft because a mechanical problem, but instead went ahead with the plane that ended up crashing.

The Spanair flight had been delayed for about an hour because of what the airline has called a minor glitch with an air temperature gauge near the cockpit. The problem took place while the MD-82 jet was still on the ground. The plane returned to the gate, where mechanics disconnected the gauge and cleared the plane to fly.

The plane crashed during takeoff, killing 154 of 172 people aboard. Spanair has insisted the faulty gauge has nothing to do with the disaster.

A government official says Spanair had told the airport it might replace the plane, but later decided to continue with the aircraft.

Spanair hasn't commented on the claim.

Click here for photos.

Click here for video.