check for null for content hashes flush