correct sample Layers