fixed a bug with playing the death sound