fixing sonar configuration