fixed but with resetting dE