fix bug MFC order