fix encoding for trends()