After replacing the waste & vent lines I still had the smell. I went to fresh water supply for the head using a separate small water tank and the smell was gone. YMMV.