getAd fixed