fixed one bug in main_UITest.