mistakes to reflect changes in package tm :)