fixed more sonarqube errors