Strip the frame of nextlines