fixed sound truncation bug