fixin url pattern