fix compile errors after refactor of customer case class