fix clipping