fix sonar violations
formatter