some modifs on serialization of win data
merge