gallery fix 9999