Correct the title of main window