remove some old codes