fix uri_for handling
recurse644