Scrub the wood with 10:1 bleach water and a clean scrub brush. After that boil it. After boiling allow it to air dry. Finally, bake it at 200 for 15-20 minutes. After the mold has developed you may always have an issue
Certain woods are good for that after a while... and may just need replaced.