small changes to work with latest version of DQM code