fix gallery links