fix bug in currentDocProducer