ndoc config cleanup