Matt Carpenter hit his 17th homer of the season Sunday