prevent crash when showing soundtray