control if nil for parsed doc in AFItem