memory leaks fixd in sound class