remove incorrect code for ad server