erase old codes.