remove deprecated functions