MainForm UI fixed