make sure we flush and use insert not upsert