changing starttime to dt
bugfix