Fixed the sonar execution failure.