rename evflags to events