some bug fixes in sound interface