delete unnecessary urls