fixes #214 check if the child node of type undefined isSuper