fix error in ltrim