fixing galleries