fix problem with the tor process detection