sound : small code imporvements