change the mechanism of line overflow