improve the x.send handling of inner, more flexible