More ads code fix