rm node by using secondary pointer