fix model data representation