fixed sound problems (toggle, frame close)