fix click counter (thanks adriweb)