fix the limit of lines