Fixed the network bug, and deleted the DEBUG statement