fix gallery 1