fix duplicate connections on the dashboard