bug fix electrons