I bought a cheap iMac 27 with a bad sensor and I have to use Macs Fan Control or it sounds like an airplane. The alternative would be to replace the sensor. You just have to use a fan control program sensibly. As in don't turn it off if there may be a thermal problem.