Bugs in moveNodes fixed