added text limit to category text