Fix bogus triming