simplify the handling of $catUri