added my own patch against --events warning
added my own patch against --events warning