fix to deltaT bug