Fixing the data to work in matter slice settings.