writecnt event table fix