hacky attempt to fix eventPhase