fixed doctest