fixes basically everything wrong with defibs right now