attempting to fix issue with gallery categories saving on gallery form