fix typo in calculate_sig_connections