attempt to fix gallery2