Removd trailing empty spaces.