fixup for mediaGallery