fix doc test error