rm unused code in refreeze