prevent user to access thermo_material and thermo_temp without code