remove some old functions