remove some deprecated functions