one window at the time, time parsing fixed