fixing stuff for electrons