fixed order in doc2doc