fix newlines in wrapper variables