fixing connect buttons