fixing doctest for sphinx failures