correct tryAdd for panels
simplify connections