Debugging click count duplicate