fix: coding style, sonar issues