sound detection : bugfix