category adapter modified