delete old codes