fix cathegory tree