Attempting to fix bugs related to displaying ads