fixes bug on TorLock's html regex