fixing doctests