Fixing media gallery field