fixed Wire sending to use correct variables