fix freezer bug