MainWindow not connect