It is a fiddly job because the thermostat housing is mounted on the motor vertically. It has been a couple of years since I had the housing off to clean the cooling system but I think I used some gasket glue on the gasket to hold the thermostat in place while reattaching the housing.