fix parent categories on category edit page