io bug fix in semi-fixed obs
when line starts and ends with same character string