prepare for freeze