fixed address bug when sending to multiple addresses