applying workaround for duplicated measures.