fix ad placement in certain situations