fix logic error and tests for audio event access