fixes in video-gallery.php