fixed sonar class