fix a small bug of _str_line