Fix an error in the dimensionmanager transformer