trend and category module improvement