fixed doctest suite