fixed bug: reading recvwindow