fix work before freeze