fix bug with string nodeids