attempt to fix gallery