tutorial gallery fix