fixed the doctests