remove 'cpurl' function.