fix bug: validate node_id when creating topics