fix up gallery