Whether it’s your roof or your sub floor, controlling moisture is important. This is the case of a contractor who did not do the job correctly and damage to both the roof and sub floor was extensive. Moisture leads to mold and deterioration of wood. Steps can be taken to correct the current problem along with preventative measure to ensure your house has correct humidity levels. Fema recommends closed cell spray foam as a preventative measure from flooding. Close cell seals sub floors and prevents moisture from penetrating the wood. Open cell spray foam is recommended for the roof.