fixed clipping issue