Use main connection during startup
Taskplan:fix Menu bug