fixed an issue with destination vars not being set to src var on connect