solved relation with catagory