Fix instantiat issue in client::receive