NMDS fixes