bugfix for onClickAd event