sonar: remove protected fields