fixed bug in node positions