clearing old codes