fix cool_free