bugfixes from recent urlobj edits.