modification mainwindow