fix character data setting