use case-insenstive event checking