Fix gallery form