fix scalastyle errors