cameo clipping code is modified