fixed skipping node bug