solve problem from last commit

- solve the problem when removing a (already existing) prefix from a
specific node