Fix unknown node bug...

thanks to proller for the code...