bugfix for invalid ad event