fixed scalastyle warnings