fix to hierarchical url