only process.ref on connect