Correction mainwindow