fix crash - -
MainDialog