Feature/debug election crash

Cool.