Linelength fix