fixed DataWriter. using old Config class.