propegate case class values properly. fixes #224