Fixed no-connection bug.