fix case insensitivity of trend tags