another fix for the no-counter case
fix regex bug
more fixes to getlantern/lantern#488 : counters