fix check status on the groupDocs directive