fixed issue if line unavailable exception.