fix video recording