correcting sonar bug slave