fixed ad layout issues