Fix error time delta assing