remove deprecated API