fix bug in Receive Protocol count