improve url pattern