fixed doc checker according to new macro