Smelly cord but not infected?

Kaylee

So I ended up taking baby to the ER today because his cord smells HORRIBLE and has some yellowish stuff inside it. The doctor came in and said it’s normal and that it’s getting ready to fall off but it just seems odd to me?