fix doctest failures in jiroux's bot