fixed wrong encoding of node