Fix connection registration