correct some weird data value assignments