Fix bugs in the connections hint