fix compile error in mda.h