remove old sending code