improved url_escape performance slightly