Two modifications for bug-fix

Two modifications sent by the professor to fix communication
problems between nodes. We are not there yet to try it, but it's
good to clear it out of the way.