correcting sonar errors