MainForm.cs fixed