fix bug invocation error when case class contains
lazy val.