changed LOCAL structure and type detection