clear code for beta