reduce number of lines to avoid limit