* handle invalid nodes