fixed Ad class