added a check to prevent ads from loading if ads are already there