Improper Soil Stack Installation

The soil stack boot in this picture you can see was installed damaged so they tried to hold it down with more nails causing more hold for water to leak into.