Fix a bug in clipper