Fixed line num bug