cleaning up url structure