proper treatment for invalid app events