fixed new/get-active-connection: using on-ready