check commented document handlers