add doctest txt
some fix. for doctest friendly-