fix gallery id