Dumb bug; `host` variable invoked without context of `location` object.