Fix MD configuration saveing