fixed doctests