Correct the connect bug
GUI design