fixed (de)serialization of AsynchMode setting