fixed dead_beats fn