removed sliding window - bug