fix video only and audio only open crash