attempt to fix gallery page