remove redundant haserl code in tor plugin