set max lines