fix maxLine ... calculation