auto configuration of clipping