gallery page bug