resolve some ScalaStyle warnings in the console package