Fixed dt storing ms instead of s