debug (fix using prf doc num in conf)