fix gallery for multiple in a form