add AD to err page