added check for spam clicking