Fixed bug in direct recv.