remove old codes