thermo contacts.html and fix some bugs