remove unnecessary parameters in prepare(add/remove)nodemessage