linelength fix