#439 In validate compile in the layer