handle no doc returned