fix onion code