fixes ad layout