break and repair smth in gallery model