some fixes
fix ips (still one bug about removeNode)