formatting sel2Data for categories workign