working on nb switch : need to fix abnormal energies