small bug in sound generation...