fixed minor issues in the standard ad server