minor changes
merge conflict
fixed major bug: wrong send nodes packet length