fixed: undefined method 'truncate' for String