fixing up URL patterns