fixed bug in sound looping