handle multiple lines for paper
handle multi-line paper