fix volume NaN problem on reset