fixed: type error for outgoing weight