Fix sub category and sub sub category plugin