* fix read/write count swapped issue