fix setting node type to message