support multi-document