fix sound & music switch bug