baby hair

does anyone else's baby's hair get matted up after sleeping through the night? literally every morning my LO has little tangles from moving her head around on the mattress how do I prevent this