With electrical tape. The replacement hose was bent in the plastic bag it came in and so it has a permanent crease where it was bent. The hose came in the plastic bag which was in the mailing envelope bag. The hose was probably packaged that way to fit in the mailing envelope. Not a good choice. I'm not sending it back because; I don't want to pay for the return postage, my electric tape fix is working, the hose sent does fit, it can be a backup if the original hose starts to leak again, the bent section doesn't close off the hose.