fixbugs about eventid & docid