problems on Sliding window protocol