remove 2 deprecated functions