fixed line-eating bug