[trend analyzer] cleanup