same here, I think decodeNode should do the check