fixed an issue when computing energy of an identified system