ifcheck return doc