Bug fixed in electron case