range finalization, urlencode todo