how i call the mainWindow, give me error...