fix create gallery page