fixed Layers write.csv to exclude layers, which was erroneously getting read in as a category later