fixed a few ad rendering issues