close ck--/ann#506 scan the document at most once in the beginning