debug finish_freezing