Fixed gsub order, fixed production of double spaces