url pattern fixes