unapplication of a case class is more weird that I thought