diff --git a/BossHP/scripting/BossHP_Ranking.sp b/BossHP/scripting/BossHP_Ranking.sp
index 21f03d55..d72eb2d6 100644
--- a/BossHP/scripting/BossHP_Ranking.sp
+++ b/BossHP/scripting/BossHP_Ranking.sp
@@ -159,12 +159,12 @@ public void OnBossKilled(any Boss, any Config, int reason)
 			if (iSortedList[1][0])
 			{
 				Format(sBuffer, sizeof(sBuffer), "%s\n2. %N - %d hits", sBuffer, iSortedList[1][0], iSortedList[1][1]);
-				LogPlayerEvent(iSortedList[0][0], "triggered", "second_most_boss_damage");
+				LogPlayerEvent(iSortedList[1][0], "triggered", "second_most_boss_damage");
 			}
 			if (iSortedList[2][0])
 			{
 				Format(sBuffer, sizeof(sBuffer), "%s\n3. %N - %d hits", sBuffer, iSortedList[2][0], iSortedList[2][1]);
-				LogPlayerEvent(iSortedList[0][0], "triggered", "third_most_boss_damage");
+				LogPlayerEvent(iSortedList[2][0], "triggered", "third_most_boss_damage");
 			}
 
 			Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);
diff --git a/Spectate/scripting/Spectate.sp b/Spectate/scripting/Spectate.sp
index d8bae6db..c43ec690 100644
--- a/Spectate/scripting/Spectate.sp
+++ b/Spectate/scripting/Spectate.sp
@@ -41,6 +41,7 @@ public void OnPluginStart()
 
 	AddCommandListener(Command_SpectateViaConsole, "spectate");
 	AddCommandListener(Command_GoTo, "spec_goto");
+	AddCommandListener(Command_Kill, "kill");
 }
 
 public void OnMapStart()
@@ -152,6 +153,14 @@ public Action Command_SpectateViaConsole(int client, char[] command, int args)
 	return Plugin_Continue;
 }
 
+public Action Command_Kill(int client, char[] command, int args)
+{
+	if ((IsPlayerAlive(client) && ZR_IsClientHuman(client)) && GetTeamClientCount(CS_TEAM_T) > 0 && GetTeamAliveClientCount(CS_TEAM_T) > 0)
+		LogPlayerEvent(client, "triggered", "switch_to_spec");
+
+	return Plugin_Continue;
+}
+
 // Fix spec_goto crash exploit
 public Action Command_GoTo(int client, const char[] command, int argc)
 {