Fixed bug about sending boxes to the server.