bug fixes for video and audio