optimistations on url construction