timewindow length fix