added temporary id in MainWindow