Fixed detonation bug