fix doctest path bug