fixed a bug is thermometer selection