trimright should be trimsuffix