[dwm] fix typo in time loop