fixed passnplay error caused by sound function