fixed some details for nstcalcenergy>1