more fixes after removing doctest-ignore, resolves #66