coverage fix for sonar