adding StupidCastNode instead of Type ErrorNode