fixed IntelliJ warnings, ran auto-formatter