IOMAD: some more changes to training event mod to make it bahave better.