fix bug
more fixes for line printing/scrolling