Some error fixing for clipper