Correct addSoundEvents bug.