some bugs for Multi Electron case corrected