use category_depth instead of just depth