Seg fault bug if fewer lines to show, than exist