fix: should be defined read/write event flags.