fix scalaz deprecation warnings