Fix MainForm