Whitespace trimming was to early in the chain.