Wrong parameter order in ltrim() breaks functionality