fix dbl click protection