fix for write counter without write concern