fixed the clipping issue