Remove if statement in ultimate_cause by just trimming whitespace