accidently broke main gallery with last update, this fixes