fixed some failing doctests