fixing c.connected