fix the scalastyle errors