clear code and freez