fixes galleries