Everythig cleaned on therm.c client file