add energy
add energy
restore time smoothly
energy error fix