minor error in ad template