serialization - workaround for windows