MainForm Fix