Thermal nonlinearity is known to cause bistability in Whispering Gallery Mode (WGM) resonators and to destabilize the red slope of the Lorentzian resonant curve. We demonstrate an optical technique that allows compensation of the thermal effect and forces the resonances to appear linear with both red and blue slopes stable. (C)2011 Optical Society of America