Connected bug

Fix for the connected() bug