add ellipsizing to restore string if text is too long