[fix] fixed SONAR violations