Fixing access to event