union non-expandable chars outside loop

Thanks @wasade!