fixes to tor-onion module