risolto bug del gate already connected
merge