fixed an error in sound.js